import request from '../network/request';

// 二维码列表
export const code = (query) => {
    return request({
        url: 'index.php/index/Detail/code',
        method: 'POST',
        data: query
    });
};

// 资料列表
export const index = (query) => {
    return request({
        url: 'index.php/index/Detail/index',
        method: 'POST',
        data: query
    });
};

// 介绍
export const introduce = (query) => {
    return request({
        url: 'index.php/index/Detail/introduce',
        method: 'POST',
        data: query
    });
};

// 介绍
export const detail = (query) => {
    return request({
        url: 'index.php/index/Detail/detail',
        method: 'POST',
        data: query
    });
}

// 提现
export const withdraw = (query) => {
    return request({
        url: 'index.php/index/Login/withdraw',
        method: 'POST',
        data: query
    });
};


// 提现记录
export const withdraworder = (query) => {
    return request({
        url: 'index.php/index/Login/withdraworder',
        method: 'POST',
        data: query
    });
};